/*
 * BrowsingHistoryHolder.java
 * business
 *
 * Created by SunDing on 2016/9/9.
 *
 * Copyright (c) 2016年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.ui.widget.listview.viewholder;

import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.yidiandao.business.R;
import com.yidiandao.business.ui.widget.listview.ViewHolder;

/** 浏览历史 */
public class BrowsingHistoryHolder extends ViewHolder {
    public LinearLayout mRlItemBrowsingHistory;
    public ImageView mIvItemPic;
    public TextView mTvItemBrowsingHistoryName;
    public TextView mTvItemBrowsingHistoryPrice;

    @Override
    protected void initView(View rootView) {
        mRlItemBrowsingHistory = (LinearLayout) rootView.findViewById(R.id.rl_item_browsinghistory);
        mIvItemPic = (ImageView) rootView.findViewById(R.id.iv_item_pic);
        mTvItemBrowsingHistoryName =
                (TextView) rootView.findViewById(R.id.tv_item_browsinghistory_name);
        mTvItemBrowsingHistoryPrice =
                (TextView) rootView.findViewById(R.id.tv_item_browsinghistory_price);
    }

    @Override
    protected int getItemLayoutId() {
        return R.layout.item_browsing_history;
    }
}
